9ee5ce0365b006bf758d9d9fa0086f3fe6406f2b,clc/modules/cluster-manager/src/main/java/com/eucalyptus/vm/SystemState.java,SystemState,restoreInstance,#String#VmInfo#,194

Before Change


      try {
        keyInfo = ( VmKeyInfo ) Messaging.send( "vm://KeyPairResolve", runVm );
      } catch ( EucalyptusCloudException e ) {
        keyInfo = new VmKeyInfo( "unknown", runVm.getKeyValue( ), null );
      }
      VmTypeInfo vmType = runVm.getInstanceType( );
      List<Network> networks = new ArrayList<Network>( );

After Change


            db.commit( );
          } catch ( Throwable e ) {
            db.rollback( );
            throw new EucalyptusCloudException( "Failed to find key pair associated with public key " + runVm.getKeyValue( ), e );
          }
        } catch ( Throwable e ) {
          key = SshKeyPair.NO_KEY;